package com.huadao.cart_ccs.experiment.progressOverview;

import com.huadao.cart_ccs.base.BasePresenter;
import com.huadao.cart_ccs.base.BaseView;
import com.huadao.cart_ccs.data.bo.ExperimentStage;
import com.huadao.cart_ccs.greendao.entity.Operation;

import java.util.List;

public interface IProgressOverViewContract {
    interface IProgressOverViewView extends BaseView{
        ExperimentStage getCurrentStage();
        void onGetHappenedStageList(List<ExperimentStage> experimentStageList);
        void onGetOperateList(List<Operation> operationList);
        void setNewNameSucc(String newName);
        void setNewNameFailed();
    }

    abstract class IProgressOverViewPresenter extends BasePresenter<IProgressOverViewView>{

        public abstract void getHappenedStageList();

        public abstract void getOperateList();

        public abstract void setNewName(String newName);
    }
}
